<?php
namespace Home\Controller;
use Think\Controller;
class SingleController extends Controller {
    public function index(){
    	C('IS_SINGLE',true);
        $id= I('get.id');
        $this->single= D('ArticleView')->where("article.id=".$id)->select();
        $this->theme(C('DEFAULT_THEME'))->display("/single");

    }
}